import { post } from '../http'

/**
 * @description: 分页查询
 * @param data
 * @return Promise
 */
export const getCarTboxVehicleList = (data) => post({ url: '/carTboxVehicle/pageList', data })
/**
 * @description: 根据车辆校验有效的控车单
 * @param data
 * @return Promise
 */
export const getCheckCarId = (data) => post({ url: '/carControl/checkCarId', data })
/**
 * @description: 删除
 * @param data
 * @return Promise
 */
export const getDelete = (data) => post({ url: '/carTboxVehicle/delete', data })
/**
 * @description: 添加设备
 * @param data
 * @return Promise
 */
export const getCarTboxVehicleCreate = (data) => post({ url: '/carTboxVehicle/create', data })
/**
 * @description: 详情
 * @param data
 * @return Promise
 */
export const getCarTboxVehicleDetail = (data) => post({ url: '/carTboxVehicle/detail', data })
/**
 * @description: 根据车辆id查询
 * @param data
 * @return Promise
 */
export const getByCarIdDetail = (data) => post({ url: '/carTboxVehicle/getByCarId', data })
/**
 * @description: 编辑
 * @param data
 * @return Promise
 */
export const getCarTboxVehicleModify = (data) => post({ url: '/carTboxVehicle/modify', data })
/**
 * @description: 控制tbox
 * @param data
 * @return Promise
 */
export const getCommandTbox = (data) => post({ url: '/carTboxVehicle/commandTbox', data })
/**
 * @description: 获取车辆的行轨迹
 * @param data
 * @return Promise
 */
export const getCarGpsTrail = (data) => post({ url: '/carVehicle/getCarGpsTrail', data })
/**
 * @description: 拦截业务单虚拟车钥匙
 * @param data
 * @return Promise
 */
export const getInterceptRefControl = (data) => post({ url: '/carControl/interceptRefControl', data })
/**
 * @description: 重新下发车钥匙
 * @param data
 * @return Promise
 */
export const getReCarKey = (data) => post({ url: '/carControl/ReCarKey', data })
/**
 * @description: 根据业务单号查询控车单
 * @param data
 * @return Promise
 */
export const getSelectByRefCode = (data) => post({ url: '/carControl/selectByRefCode', data })
/**
 * @description: 重发短信
 * @param data
 * @return Promise
 */
export const getCarControlSms = (data) => post({ url: '/carControl/sendSms', data })
